/*
 * @Author: zhang gen yuan
 * @Date: 2021-09-17 13:56:32
 * @Descripttion: 
 */
import { getPage, remove } from "./../../api/HxUser";


export const columns = [
    {
        label: '账号',
        prop: 'account'
    },
    {
        label: '密码',
        prop: 'password'
    },
    {
        label: '昵称',
        prop: 'name'
    },
    {
        label: '名称',
        prop: 'realName'
    },
    {
        label: '邮箱',
        prop: 'email'
    },
    {
        label: '手机',
        prop: 'phone'
    },
    // {
    //     label: '生日',
    //     prop: 'birthday'
    // },
    {
        label: '性别',
        prop: 'sex'
    },
    {
        label: '创建人',
        prop: 'createUser'
    },
    {
        label: '创建部门',
        prop: 'createDept'
    },
    {
        label: '创建时间',
        prop: 'createUser'
    },
    {
        label: '修改人',
        prop: 'updateUser'
    },
    {
        label: '修改时间',
        prop: 'updateTime'
    },
    {
        label: '状态',
        prop: 'status'
    },
]

export function userFunc(drawer) {
    let closeDrawer = () => {
        drawer.value = false
    }
    return {
        closeDrawer
    }
}